﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SQLEditor.admin.entity
{
    public class SqlAnswer
    {
        public const int SUCCESS = 1;
        public const int FAIL_COMPILE = 2;
        public const int FAIL_RESULT = 3;
        public const string SUCCESS_STR1 = "SQL正确";
        public const string SUCCESS_STR2 = "结果正确";
        public const string FAIL_RESULT_STR = "结果错误";

        public int id { get; set; }
        public int questionId { get; set; }
        public string questionTitle { get; set; }
        public int point { get; set; }
        public string answer { get; set; }
        public string refAnswer { get; set; }
        public int status { get; set; }
        public string statusStr { get; set; }
        public string jsonAnswer { get; set; }
        public string jsonRefAnswer { get; set; }
        public DateTime submittime { get; set; }
        public int userId { get; set; }
        public string username { get; set; }
    }
}